package com.dcloud.streamweb.core.jobserver;

public interface JobServerAO {
    /**
     * 启动任务
     *
     * @date 2020-07-20
     * @time 23:12
     */
    void start(Long id, Long savepointId, String userName);

    void stop(Long id, String username);

    /**
     * 执行savepoint
     *
     * @author zhuhuipei
     * @date 2020-09-21
     * @time 00:41
     */
    void savepoint(Long id);
}
